***************************************************************************
****************************************************************************


log using "C:\Users\gk57526\Dropbox\Executive Particularism (Matt Zarit)\Negative Grants\Winter 2020\Output\Add Particularism & Demographic Results.03-18-2020.smcl"


**** Krause and Zarit, Negative Grants: Contraction of Policy Benefits in U.S. Federal Agencies *************************

use "C:\Users\gk57526\Dropbox\Executive Particularism (Matt Zarit)\Negative Grants\Winter 2020\Data\neg_grants_data.01-02-2020.03-18-2020.varsadded.dta"




* SET PANEL IDENTIFIER *
xtset program_id


*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************

*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************
*********************************************************************************************************************************************************************************************************************************************************


*** BASIS FOR AVERAGE MARGINAL EFFECTS COMES FROM THE WITHIN STANDARD DEVIATION OF EACH RELEVANT COVARIATE CENTRAL TO TESTING THE POLITICAL ACCOUNTABILITY - BUREAUCRATIC RESPONSIBILITY THESIS ***


*** ALL FOUR LINCOMS DENOTED BELOW ARE ESTIMATED BASED UPON A TWO WITHIN-AGENCY STANDARD DEVIATION CHANGE IN THE COVARIATE [see Mummolo and Peterson 2018: PSRM Point #2, Page 6]*** 




* PANEL DESCRIPTIVE STATISTICS FOR THE KEY PRESIDENTIAL CONTROL & BUREAUCRATIC PERFORMANCE COVARIATES FROM THE EFFECTIVE REGRESSION SAMPLE [N = 704,401 INDIVIDUAL GRANT RETRENCHMENTS] *

quietly xtreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  ///
agency_totalgrantamtyr lnagencycomplexity  cuts_year ihs_grantamount  grantageqtr516 grantageqtr1732 grantageqtr33plus ///
presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
i.year i.agency if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", vce(cluster program_id)

*
xtsum  presparty2xclintonlewis zloyalty2_abszero zmanage2_abszero zpolicy2_abszero  if e(sample)


* DESCRIPTIVE STATISTICS FOR THE DEPENDENT VARIABLE IN ITS NATURAL CONSTANT-DOLLAR FORM & CORRESPONDING NATURAL LOG FORM [N = 704,401 INDIVIDUAL GRANT RETRENCHMENTS] ***

sum neg_fed_funding  if neg_fed_funding>0 & e(sample), detail







*** II. AUGMENTED MANUSCRIPT MODELS: ADDED PARTICULARISM AND DEMOGRAPHIC COVARIATES ***
***     CONTAIN THREE-WAY FIXED EFFECTS [PROGRAM-SPECIFIC, AGENCY-SPECIFIC, AND YEAR-SPECIFIC FIXED EFFECTS [WITH ROBUST SE CLUSTERING ON PROGRAM_ID]  *** 




************ TABLE SI-1A --TABLE SI-1C ****************************************************************************** ****************************************************************************************************************************************************

** OLS: E(Y) CONDITIONAL MEAN MODEL **

xtreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  ///
agency_totalgrantamtyr lnagencycomplexity  cuts_year ihs_grantamount  grantageqtr516 grantageqtr1732 grantageqtr33plus ///
presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
i.year i.agency if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", vce(cluster program_id)

*
*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)

*
*

*** UNCONDITIONAL QUANTILE FIXED EFFECTS REGRESSION MODELS AT VARIOUS QUANTILES OF INTEREST *** 

* q = 1 *

xtrifreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  agency_totalgrantamtyr lnagencycomplexity  ///
cuts_year ihs_grantamount grantageqtr516 grantageqtr1732 grantageqtr33plus presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
agendum1 agendum2 agendum3 agendum4 agendum5 agendum6 agendum7 agendum8 agendum9 agendum10 agendum11 agendum12 agendum13 agendum14 ///
agendum15 agendum17 agendum18 agendum19 agendum20 agendum21 ///
yeardum6 yeardum7 yeardum8 yeardum9 yeardum10 yeardum11 yeardum12 yeardum13 yeardum14 yeardum15 yeardum16 yeardum17 ///
yeardum18 yeardum19 yeardum20 yeardum21 yeardum22 yeardum23 yeardum24 yeardum25  if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", fe i(program_id) q(1)


*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)


*
*

* q = 10 *

xtrifreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  agency_totalgrantamtyr lnagencycomplexity  ///
cuts_year ihs_grantamount grantageqtr516 grantageqtr1732 grantageqtr33plus presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
agendum1 agendum2 agendum3 agendum4 agendum5 agendum6 agendum7 agendum8 agendum9 agendum10 agendum11 agendum12 agendum13 agendum14 ///
agendum15 agendum17 agendum18 agendum19 agendum20 agendum21 ///
yeardum6 yeardum7 yeardum8 yeardum9 yeardum10 yeardum11 yeardum12 yeardum13 yeardum14 yeardum15 yeardum16 yeardum17 ///
yeardum18 yeardum19 yeardum20 yeardum21 yeardum22 yeardum23 yeardum24 yeardum25  if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", fe i(program_id) q(10)



*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)


*
*


* q = 25 *

xtrifreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  agency_totalgrantamtyr lnagencycomplexity  ///
cuts_year ihs_grantamount grantageqtr516 grantageqtr1732 grantageqtr33plus presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
agendum1 agendum2 agendum3 agendum4 agendum5 agendum6 agendum7 agendum8 agendum9 agendum10 agendum11 agendum12 agendum13 agendum14 ///
agendum15 agendum17 agendum18 agendum19 agendum20 agendum21 ///
yeardum6 yeardum7 yeardum8 yeardum9 yeardum10 yeardum11 yeardum12 yeardum13 yeardum14 yeardum15 yeardum16 yeardum17 ///
yeardum18 yeardum19 yeardum20 yeardum21 yeardum22 yeardum23 yeardum24 yeardum25  if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", fe i(program_id) q(25)

*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)


*
*


*q = 50 *

xtrifreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  agency_totalgrantamtyr lnagencycomplexity  ///
cuts_year ihs_grantamount grantageqtr516 grantageqtr1732 grantageqtr33plus presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
agendum1 agendum2 agendum3 agendum4 agendum5 agendum6 agendum7 agendum8 agendum9 agendum10 agendum11 agendum12 agendum13 agendum14 ///
agendum15 agendum17 agendum18 agendum19 agendum20 agendum21 ///
yeardum6 yeardum7 yeardum8 yeardum9 yeardum10 yeardum11 yeardum12 yeardum13 yeardum14 yeardum15 yeardum16 yeardum17 ///
yeardum18 yeardum19 yeardum20 yeardum21 yeardum22 yeardum23 yeardum24 yeardum25  if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", fe i(program_id) q(50)


*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)


*
*

* q = 75*

xtrifreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  agency_totalgrantamtyr lnagencycomplexity  ///
cuts_year ihs_grantamount grantageqtr516 grantageqtr1732 grantageqtr33plus presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
agendum1 agendum2 agendum3 agendum4 agendum5 agendum6 agendum7 agendum8 agendum9 agendum10 agendum11 agendum12 agendum13 agendum14 ///
agendum15 agendum17 agendum18 agendum19 agendum20 agendum21 ///
yeardum6 yeardum7 yeardum8 yeardum9 yeardum10 yeardum11 yeardum12 yeardum13 yeardum14 yeardum15 yeardum16 yeardum17 ///
yeardum18 yeardum19 yeardum20 yeardum21 yeardum22 yeardum23 yeardum24 yeardum25  if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", fe i(program_id) q(75)


*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)


*
*


*q = 90 *

xtrifreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  agency_totalgrantamtyr lnagencycomplexity  ///
cuts_year ihs_grantamount grantageqtr516 grantageqtr1732 grantageqtr33plus presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd ///
agendum1 agendum2 agendum3 agendum4 agendum5 agendum6 agendum7 agendum8 agendum9 agendum10 agendum11 agendum12 agendum13 agendum14 ///
agendum15 agendum17 agendum18 agendum19 agendum20 agendum21 ///
yeardum6 yeardum7 yeardum8 yeardum9 yeardum10 yeardum11 yeardum12 yeardum13 yeardum14 yeardum15 yeardum16 yeardum17 ///
yeardum18 yeardum19 yeardum20 yeardum21 yeardum22 yeardum23 yeardum24 yeardum25  if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", fe i(program_id) q(90)


*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)


*
*


*q = 99 *

xtrifreg neg_fed_funding presparty2xclintonlewis  zloyalty2_abszero  zmanage2_abszero zpolicy2_abszero  agency_totalgrantamtyr lnagencycomplexity  ///
cuts_year ihs_grantamount grantageqtr516 grantageqtr1732 grantageqtr33plus presparty2 clintonlewis unified second_term pres_sameparty_cut pres_diffparty_cut ///
compstate corestate1 electionyear pres_party house_majority any_chair house_app house_ways  lnnewpop pctpoverty pcincomecd /// 
agendum1 agendum2 agendum3 agendum4 agendum5 agendum6 agendum7 agendum8 agendum9 agendum10 agendum11 agendum12 agendum13 agendum14 ///
agendum15 agendum17 agendum18 agendum19 agendum20 agendum21 ///
yeardum6 yeardum7 yeardum8 yeardum9 yeardum10 yeardum11 yeardum12 yeardum13 yeardum14 yeardum15 yeardum16 yeardum17 ///
yeardum18 yeardum19 yeardum20 yeardum21 yeardum22 yeardum23 yeardum24 yeardum25  if neg_fed_funding>0 & type_of_grant !="03" & type_of_action=="C", fe i(program_id) q(99)


*
*** POLITICAL ACCOUNTABILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***

lincom  (presparty2xclintonlewis*0.6747691*2)
*
lincom (zloyalty2_abszero*0.5660413*2)

*** BUREAUCRATIC REPSONSIBILITY-MOTIVATED GRANT RETRENCHMENT EFFECTS [INDIVIDUAL GRANT RETRENCHMENTS] ***  

lincom  (zmanage2_abszero*0.6851748*2) 
*
lincom (zpolicy2_abszero*0.6005642*2)


*
*




********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************


log close


********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************
********************************************************************************************************************************************************************************************************************************************************



